﻿namespace FlyingEye.DeviceClients.Responses
{
    /// <summary>
    /// 响应结果
    /// </summary>
    public class DefaultResponse
    {
        public DefaultResponse(bool isSuccess, string? message)
        {
            IsSuccess = isSuccess;
            Message = message;
        }

        /// <summary>
        /// 任务是否执行成功
        /// </summary>
        public bool IsSuccess { get; set; }

        /// <summary>
        /// 任务信息
        /// </summary>
        public string? Message { get; set; }
    }
}
